package a.f.n;

import a.d.f;

import java.awt.geom.Rectangle2D;
import java.util.Iterator;
import java.util.List;

class v
{
  private d.a_ a;
  private k.b_ c;
  private d.a_ d;
  
  protected v() {}
  
  v(k.b_ paramb_, d.a_ parama_)
  {
    if (parama_ == null) {
      throw new NullPointerException("originalShape was null");
    }
    if (paramb_ == null) {
      throw new NullPointerException("modificationMatrix was null");
    }
    this.a = parama_;
    this.c = paramb_;
    this.d = parama_.a(paramb_.a());
  }
  
  void a(double paramDouble1, double paramDouble2)
  {
    this.d.a(paramDouble1, paramDouble2);
  }
  
  void a(double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4)
  {
    this.d.a(paramDouble1, paramDouble2, paramDouble3, paramDouble4);
  }
  
  void b(double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4)
  {
    this.d.b(paramDouble1, paramDouble2, paramDouble3, paramDouble4);
  }
  
  f a(int paramInt)
  {
    return this.d.a(paramInt);
  }
  
  Rectangle2D a()
  {
    return this.d.b();
  }
  
  double b()
  {
    return this.d.c();
  }
  
  double c()
  {
    return this.d.d();
  }
  
  double d()
  {
    return this.d.j();
  }
  
  double e()
  {
    return (this.d.i() + this.d.g()) * 0.5D;
  }
  
  double f()
  {
    return (this.d.j() + this.d.h()) * 0.5D;
  }
  
  double g()
  {
    return this.d.i();
  }
  
  double h()
  {
    return this.d.g();
  }
  
  double i()
  {
    return this.d.h();
  }
  
  double j()
  {
    return this.d.k();
  }
  
  double k()
  {
    return this.d.l();
  }
  
  void l()
  {
    this.d.e();
  }
  
  double a(double paramDouble)
  {
    return g() + paramDouble;
  }
  
  double b(double paramDouble)
  {
    return d() + paramDouble;
  }
  
  double c(double paramDouble)
  {
    return h() - paramDouble;
  }
  
  double e(double paramDouble)
  {
    return i() - paramDouble;
  }
  
  void a(v paramv)
  {
    this.d.a(paramv.d);
    n();
    paramv.n();
  }
  
  void f(double paramDouble)
  {
    k(paramDouble);
  }
  
  void g(double paramDouble)
  {
    h(-paramDouble);
  }
  
  void h(double paramDouble)
  {
    b(0.0D, paramDouble);
  }
  
  void i(double paramDouble)
  {
    h(paramDouble);
  }
  
  void j(double paramDouble)
  {
    k(-paramDouble);
  }
  
  void k(double paramDouble)
  {
    b(paramDouble, 0.0D);
  }
  
  void b(double paramDouble1, double paramDouble2)
  {
    this.d.b(paramDouble1, paramDouble2);
  }
  
  d.a_ m()
  {
    return this.a;
  }
  
  void n()
  {
    this.d.a(this.a, this.c);
  }
  
  k.a_ a(f paramf, double paramDouble)
  {
    return a(k.a_.c, paramf, paramDouble, false);
  }
  
  k.a_ b(f paramf, double paramDouble)
  {
    return a(k.a_.b, paramf, paramDouble, false);
  }
  
  k.a_ d(f paramf, double paramDouble)
  {
    return a(k.a_.d, paramf, paramDouble, false);
  }
  
  k.a_ e(f paramf, double paramDouble)
  {
    return a(paramf, paramDouble, false);
  }
  
  k.a_ a(f paramf)
  {
    return a(k.a_.c, paramf, 0.0D, false);
  }
  
  k.a_ b(f paramf)
  {
    return a(k.a_.b, paramf, 0.0D, false);
  }
  
  k.a_ c(f paramf)
  {
    return a(k.a_.d, paramf, 0.0D, false);
  }
  
  k.a_ d(f paramf)
  {
    return a(paramf, 0.0D, false);
  }
  
  k.a_ a(f paramf, double paramDouble, boolean paramBoolean)
  {
    return a(k.a_.a, paramf, paramDouble, paramBoolean);
  }
  
  private k.a_ a(k.a_ parama_, f paramf, double paramDouble, boolean paramBoolean)
  {
    k.a_ locala_ = c(parama_, paramf, paramDouble, paramBoolean);
    b(locala_.a(0), locala_.a(1));
    return locala_;
  }
  
  private k.a_ c(k.a_ parama_, f paramf, double paramDouble, boolean paramBoolean)
  {
    double d1 = a(parama_, paramf) - paramDouble;
    if ((k.n) || ((paramBoolean) && (d1 < 0.0D))) {
      return k.a_.e;
    }
    return parama_.a(d1);
  }
  
  double a(k.a_ parama_, f paramf)
  {
    boolean bool = k.n;
    if (!bool) {
      if (parama_.a() < 0.0D)
      {
        if (bool) {
          break label49;
        }
        d1 = paramf.f(a(parama_));
        if (!k.m) {
          return d1;
        }
      }
    }
    label49:
    double d1 = a(parama_).f(paramf);
    return d1;
  }
  
  double a(int paramInt, f paramf)
  {
    return a(k.a_.b(paramInt), paramf);
  }
  
  f a(k.a_ parama_)
  {
    boolean bool = k.n;
    if (!bool) {
      if (parama_.equals(k.a_.a)) {
        return a(0);
      }
    }
    if (!bool) {
      if (parama_.equals(k.a_.b)) {
        return a(1);
      }
    }
    if (parama_.equals(k.a_.c)) {
      return a(2);
    }
    return a(3);
  }
  
  f e(f paramf)
  {
    return b(k.a_.b, paramf);
  }
  
  f f(f paramf)
  {
    return b(k.a_.c, paramf);
  }
  
  f g(f paramf)
  {
    return b(k.a_.d, paramf);
  }
  
  f i(f paramf)
  {
    return b(k.a_.a, paramf);
  }
  
  private f b(k.a_ parama_, f paramf)
  {
    boolean bool = k.n;
    f localf = a(parama_);
    if (!bool)
    {
      if (parama_.a() < 0.0D)
      {
        if (bool) {
          break label47;
        }
        paramf.e(localf);
      }
    }
    else if (!k.m) {
      return paramf;
    }
    paramf.d(localf);
    label47:
    return paramf;
  }
  
  void j(f paramf)
  {
    c(k.a_.b, paramf);
  }
  
  void k(f paramf)
  {
    c(k.a_.c, paramf);
  }
  
  void l(f paramf)
  {
    c(k.a_.d, paramf);
  }
  
  void m(f paramf)
  {
    c(k.a_.a, paramf);
  }
  
  private void c(k.a_ parama_, f paramf)
  {
    boolean bool = k.n;
    f localf = a(parama_);
    if (!bool)
    {
      if (parama_.a() < 0.0D)
      {
        if (bool) {
          break label43;
        }
        localf.e(paramf);
      }
    }
    else if (!k.m) {
      return;
    }
    label43:
    localf.d(paramf);
  }
  
  void a(List paramList)
  {
    boolean bool = k.m;
    Iterator localIterator = paramList.iterator();
    do
    {
      if (!localIterator.hasNext()) {
        break;
      }
      v localv = (v)localIterator.next();
      a(localv);
    } while (!bool);
  }
  
  Rectangle2D o()
  {
    return this.d.a();
  }
  
  void c(double paramDouble1, double paramDouble2)
  {
    b(paramDouble1 - j(), paramDouble2 - k());
  }
  
  void n(f paramf)
  {
    j(paramf);
    l(paramf);
  }
  
  void o(f paramf)
  {
    k(paramf);
    m(paramf);
  }
  
  double p()
  {
    return d() - i();
  }
  
  k.b_ q()
  {
    return this.c;
  }
  
  double r()
  {
    return g() - h();
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.f.n.v

 * JD-Core Version:    0.7.0.1

 */